<template>
  <h2>{{ title }}</h2>
  <div class="content">
    <slot>
      <p>默认内容</p>
    </slot>
  </div>
  <!-- <p>{{ content }}</p> -->
</template>

<script>
  export default {
    props: {
      title: {
        type: String,
        default: ""
      },
      content: {
        type: String,
        default: ""
      }
    }
  }
</script>

<style scoped>
</style>